import Vue from 'vue'
import Vuex from 'vuex'
import ActionHelper from "@/store/ActionHelper";

Vue.use(Vuex)

let store = new Vuex.Store({
  state: {
    isShow: false,
    actHelp: new ActionHelper(),
    transMemo: null,
    filterCateId: -1
  },
  mutations: {
    showEditMemo(state, editMemo) {
      state.transMemo = editMemo
      state.isShow = true
    }
  },
  actions: {}
})

export default store
